// typescript 声明数组的几种方式
export default class ArraySyntax {
  io() {
    let arr: Array<Number> = [2, 4, 6];
    let arr2: number[] = [1, 3, 9];
    let strs: Array<string> = ["起初,神创造天地", "地是空虚混沌,渊面黑暗"];
    let strs2: string[] = ["神医", "救世"];

    console.log(arr2);
    console.log(strs2);
  }
}
